/*
 * Copyright (c) Ulrich Hilger, http://dev.uhilger.de, all rights reserved.
 *
 * Published under the terms and conditions of the Apache License 2.0,
 * see http://www.apache.org/licenses/LICENSE-2.0
 */

package de.uhilger.servicehub.ctrl.action;

import java.awt.event.ActionEvent;

/**
 * Objects that like to be notified of results from actions need to implement this interface.
 *
 * @author Ulrich Hilger, <a href="http://dev.uhilger.de" target="_blank">http://dev.uhilger.de</a>
 * @author Published under the terms and conditions of
 * the <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License 2.0</a>
 */
public interface ActionResultListener {
  /**
   * Handle the fact that a result is present from an action
   * @param event  the event that led to the result
   * @param result  the result that is present
   */
  public void resultPresent(ActionEvent event, Object result);
}
